package com.zy.bean.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import com.zy.bean.po.LiteflowChain;

import java.util.Date;

/**
 * @author hanhuafeng
 * @version V1.0
 * @description
 * @date 2023/6/5
 */
@Data
@NoArgsConstructor
public class LiteflowChainVo {
    public LiteflowChainVo(LiteflowChain record){
        this.id = record.getId();
        this.applicationName = record.getApplicationName();
        this.chainName = record.getChainName();
        this.chainDesc = record.getChainDesc();
        this.elData = record.getElData();
        this.createTime = record.getCreateTime();
        this.updateTime = record.getUpdateTime();
    }
    /**
     * 主键
     */
    private Long id;

    /**
     * 应用名称
     */
    private String applicationName;

    /**
     *
     */
    private String chainName;

    /**
     * 链描述
     */
    private String chainDesc;

    /**
     * 编排规则结构化数据
     */
    private String elData;

    /**
     * 记录插入时间
     */
    private Date createTime;

    /**
     * 记录更新时间
     */
    private Date updateTime;
}
